﻿using System;
using System.Collections.Generic;
using System.ComponentModel;
using System.Data;
using System.Drawing;
using System.Text;
using System.Windows.Forms;

namespace Forbidden_Island
{
    public partial class LossConditions : Forbidden_Island.BaseHelpMenu
    {
        public LossConditions()
        {
            InitializeComponent();
        }

        private void LossConditions_Load(object sender, EventArgs e)
        {
            setTitle("Loss Conditions");
            setLabelText("The players lose the game if any of the following occur at any time:\n\n" +
                "   1) Freedom's Landing sinks.  The players must keep this tile from sinking, since they must use it\n" +
                "      to escape the island.\n\n" +
                "   2) If both Temples, Caves, Palaces, or Garden tiles sink before you collect their respective \n" +
                "      treasures.\n\n" +
                "   3) If any player is on an island tile that sinks and there is no adjacent tile to - if this happens, \n" +
                "      the player drowns and the game is over.\n\n" +
                "   4) If the water level reaches the top of the water meter.\n\n" +
                "   Hints: \n\n" +
                "      »Save sandbags to shore up important tiles at critical times.\n" +
                "      »Keep players spread around the island as much as possible - this way you'll be able to react\n" +
                "       to tiles becoming flooded more readily.\n" +
                "      »It may seem a good strategy to just let non-critical tiles sink.  However, every time a tile sinks the\n" +
                "       pool of available cards to draw from the places deck is reduced, which increases the chance of critical\n" +
                "       treasure claim and Freedom's Landing place cards being drawn, flooded, and sunk.");
        }

        private void btnPrevious_Click(object sender, EventArgs e)
        {
            this.Close();
            Taking_Actions ta = new Taking_Actions();
            ta.StartPosition = FormStartPosition.Manual;
            ta.Location = new Point(213, 213);
            ta.Activate();
            ta.Visible = true;
        }

        private void btnNext_Click(object sender, EventArgs e)
        {
            this.Close();
            Winning w = new Winning();
            w.StartPosition = FormStartPosition.Manual;
            w.Location = new Point(213, 213);
            w.Activate();
            w.Visible = true;
        }
    }
}
